﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
    /// 退货产品明细
    /// </summary>
    [Serializable]
    public partial class AT_ReturnGoodsItem
    {
        public AT_ReturnGoodsItem()
        { }
        #region Model
        private long _id;
        private long _companyid;
        private DateTime? _createtime;
        private string _createby;
        private DateTime? _updatetime;
        private string _updateby;
        private long? _returnid;
        private long? _prodid;
        private long? _skuid;
        private int? _qty;
        private int? _status;
        private string _remark;
        private string _prodno;
        private string _batchnoid;
        private int? _packlevel;
        private DateTime? _scandate;
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreateBy
        {
            set { _createby = value; }
            get { return _createby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UpdateBy
        {
            set { _updateby = value; }
            get { return _updateby; }
        }
        /// <summary>
        /// 退货单
        /// </summary>
        public long? ReturnId
        {
            set { _returnid = value; }
            get { return _returnid; }
        }
        /// <summary>
        /// 产品Id
        /// </summary>
        public long? ProdId
        {
            set { _prodid = value; }
            get { return _prodid; }
        }
        /// <summary>
        /// 产品规格
        /// </summary>
        public long? SkuId
        {
            set { _skuid = value; }
            get { return _skuid; }
        }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int? Qty
        {
            set { _qty = value; }
            get { return _qty; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProdNo
        {
            set { _prodno = value; }
            get { return _prodno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BatchNoId
        {
            set { _batchnoid = value; }
            get { return _batchnoid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? PackLevel
        {
            set { _packlevel = value; }
            get { return _packlevel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ScanDate
        {
            set { _scandate = value; }
            get { return _scandate; }
        }
        #endregion Model
        #region [扩展类]
        //单位名
        public string SupplierName { set; get; }

        //单位类型
        public int SupplierType { set; get; }

        //产品名称
        public string ProductName { set; get; }

        //包装规则
        public string PackRule { set; get; }

        //生产线
        public string LineName { set; get; }
        #endregion
    }
}
